[gd_scene load_steps=17 format=2]

[ext_resource path="res://PlanetNode.gd" type="Script" id=1]
[ext_resource path="res://MAIN.gd" type="Script" id=2]
[ext_resource path="res://Ship.gd" type="Script" id=3]
[ext_resource path="res://CAMERA.gd" type="Script" id=4]
[ext_resource path="res://SpacePing_faders_point.png" type="Texture" id=6]
[ext_resource path="res://SpacePing_faders_stranded.png" type="Texture" id=7]
[ext_resource path="res://SpacePing_faders_lithobroken.png" type="Texture" id=8]
[ext_resource path="res://FontedLabel.gd" type="Script" id=9]
[ext_resource path="res://top_panel.gd" type="Script" id=10]
[ext_resource path="res://level_indicator.shader" type="Shader" id=11]
[ext_resource path="res://PING_RECT.gd" type="Script" id=12]
[ext_resource path="res://multiplier.shader" type="Shader" id=13]

[sub_resource type="Curve" id=1]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.93299, 0.363636 ), -1.39234, -1.39234, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 13 )

[sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 11 )
shader_param/full = 1.0

[sub_resource type="GradientTexture" id=4]

[node name="MAIN" type="Node2D"]
script = ExtResource( 2 )

[node name="PlanetNode1" type="Node2D" parent="."]
position = Vector2( 5.65674, 282.843 )
script = ExtResource( 1 )
color = Color( 1, 0, 0, 1 )

[node name="PlanetNode2" type="Node2D" parent="."]
position = Vector2( 438.406, -144.25 )
script = ExtResource( 1 )
color = Color( 1, 0, 0.960784, 1 )
mass = 50

[node name="PlanetNode3" type="Node2D" parent="."]
position = Vector2( 356.382, 557.2 )
script = ExtResource( 1 )
color = Color( 0.988235, 0.909804, 0.0666667, 1 )
mass = 150

[node name="PlanetNode4" type="Node2D" parent="."]
position = Vector2( 661.852, 189.505 )
script = ExtResource( 1 )
color = Color( 0, 0.882353, 1, 1 )
mass = 10

[node name="SHIP" type="Node2D" parent="."]
script = ExtResource( 3 )
predictor_curve = SubResource( 1 )

[node name="CAMERA" type="Camera2D" parent="SHIP"]
current = true
script = ExtResource( 4 )

[node name="Polygon2D" type="Polygon2D" parent="SHIP/CAMERA"]
z_index = -1
color = Color( 0.0862745, 0.0862745, 0.0862745, 1 )
polygon = PoolVector2Array( -320, -456.5, -632, -416.5, -598, 431.5, 396, 497.5, 604, 311.5, 616, -270.5, 470, -568.5 )

[node name="Zshifter" type="Node2D" parent="SHIP/CAMERA"]
z_index = 5

[node name="point_here" type="TextureRect" parent="SHIP/CAMERA/Zshifter"]
visible = false
margin_left = -512.0
margin_top = -300.0
margin_right = 512.0
margin_bottom = 300.0
texture = ExtResource( 6 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}

[node name="lithobroken" type="TextureRect" parent="SHIP/CAMERA/Zshifter"]
visible = false
margin_left = -512.0
margin_top = -300.0
margin_right = 512.0
margin_bottom = 300.0
texture = ExtResource( 8 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}

[node name="stranded" type="TextureRect" parent="SHIP/CAMERA/Zshifter"]
visible = false
margin_left = -512.0
margin_top = -300.0
margin_right = 512.0
margin_bottom = 300.0
texture = ExtResource( 7 )
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}

[node name="FontedLabel" type="Label" parent="SHIP/CAMERA"]
anchor_right = 1.0
margin_bottom = 36.0
grow_horizontal = 2
align = 1
script = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="panel_node" type="Node2D" parent="SHIP/CAMERA"]
position = Vector2( -512, -300 )

[node name="top_panel" type="Node2D" parent="SHIP/CAMERA/panel_node"]
script = ExtResource( 10 )

[node name="retreat_pos" type="Node2D" parent="SHIP/CAMERA/panel_node/top_panel"]

[node name="ColorRect" type="ColorRect" parent="SHIP/CAMERA/panel_node/top_panel"]
visible = false
margin_right = 1022.0
margin_bottom = 72.0
color = Color( 0, 0, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="SHIP/CAMERA/panel_node/top_panel/ColorRect"]
margin_right = 40.0
margin_bottom = 14.0
text = "PING: SOMETHING
"

[node name="ColorRect4" type="ColorRect" parent="SHIP/CAMERA/panel_node/top_panel"]
visible = false
margin_left = 330.0
margin_top = -2.0
margin_right = 676.0
margin_bottom = 72.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ColorRect2" type="ColorRect" parent="SHIP/CAMERA/panel_node/top_panel"]
visible = false
material = SubResource( 2 )
margin_left = 330.0
margin_right = 740.0
margin_bottom = 72.0
grow_horizontal = 0
rect_min_size = Vector2( 200, 0 )
color = Color( 1, 0.588235, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="SHIP/CAMERA/panel_node/top_panel/ColorRect2"]
margin_right = 40.0
margin_bottom = 14.0
text = "3werrewrwerw"

[node name="ColorRect3" type="ColorRect" parent="SHIP/CAMERA/panel_node/top_panel"]
visible = false
margin_left = 676.0
margin_top = -2.0
margin_right = 1022.0
margin_bottom = 72.0
color = Color( 1, 0.678431, 0, 0.360784 )
script = ExtResource( 12 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="visual" type="Polygon2D" parent="SHIP"]
material = SubResource( 3 )
position = Vector2( 8.92458, -0.480768 )
scale = Vector2( 0.495286, 0.519231 )
z_index = 1
color = Color( 1, 0.890196, 0.00392157, 1 )
texture = SubResource( 4 )
polygon = PoolVector2Array( -16, -27, 88, 1, -15, 25 )
uv = PoolVector2Array( 0, 1, 0, 0, 0, 1 )

[node name="fire" type="Polygon2D" parent="SHIP/visual"]
position = Vector2( -22.0453, -0.146454 )
color = Color( 0, 1, 1, 1 )
offset = Vector2( 18.5097, -0.560638 )
polygon = PoolVector2Array( -21, -16, -21, 16, -49, 1 )
